package com.lianniu.web.tea.user.news.dao;

import java.util.List;

import com.lianniu.web.tea.user.news.model.TeaNews;


public interface TeaNewsMapper {
    int deleteByPrimaryKey(String id);

    int insert(TeaNews record);

    int insertSelective(TeaNews record);

    TeaNews selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TeaNews record);

    int updateByPrimaryKey(TeaNews record);

	List<TeaNews> getUserNewsListByUserId(Long userId);
}